/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
}    /* Style adjustments for viewports that meet the condition */


@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
/* ==========================================================================
   Group Design CSS
   author:小牧COOL;
   QQ群：206683621
   ========================================================================== */
html{
  background: #fff;
}
body {
  padding-top: 50px;
  min-width: 300px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #0099FF;
}
/*-----------------------------
          头部导航栏            
 -----------------------------*/
.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover{
  color: #0099FF;
}
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus{
  color: #0099FF;
}
.navbar-brand>img{
  display: inline-block;
  height: 30px;
  margin-top: -5px;
}
.navbar-brand-img{
  height: 24px;
  margin-top: -6px;
}
.nav-login{
  height: auto;
  padding-top: 9px;
  padding-bottom: 5px;
  text-align: center;
}
.nav-login .btn-success{
  border-radius: 0;
  margin-right: 15px;
  padding-left: 25px;
  padding-right: 25px;
}
.nav-login .btn-info{
  border-radius: 0;
  margin-right: 15px;
  padding-left: 25px;
  padding-right: 25px;
}

/*-----------------------------
          底部导航栏            
 -----------------------------*/
/* 版权说明1 */
footer{
  background: #fff;
  text-align: center;
}
footer .footer-copyright{
  margin-top:15px;
  clear:both;
  font-size:16px;
  font-weight:300;
  text-shadow:1px 1px rgba(204,204,204,0.8);
}
@media (max-width: 768px) {
  footer .footer-copyright{
    font-size:13px;
  }
}
footer .logo-max-w{
  max-width: 150px;
}
footer .abbr_no{
  border:none;
  cursor:pointer;
}
footer .powered{
  font-size:12px;
  color:rgba(102,102,102,0.8);
}
footer .unline{
  white-space: nowrap;
}
footer .footer-copyright .me{
  border: 0;
  font-family:"楷体";
  font-size:16px;
  color:#000;
}

/* 版权说明2 */
.bg-bottom{
  background: #ECF0F1;
}
.bg-bottom2{
  background: #BDC3C7;
}
footer h4{
  /*color: #bac1c8;*/
  font-weight: 700;
  padding: 6px 0;
  position: relative;
  font-size: 20px;
  text-align: left;
  border-bottom: 1px solid #CC66FF;
}
footer h4:after{
  content: "";
  width: 100px;
  height: 1px;
  background: #0099FF;
  position: absolute;
  left: 0;
  bottom: -1px;
}
footer .box{
  padding: 0 30px;
}
footer ul{
  list-style: none;
  display: inline-block;
}
  footer .power-ul{
    padding: 15px 0;
    text-align: left;
    font-size: 14px;
  }
  footer .power-ul li{
    padding-top: 5px;
  }
  footer .power-ul .powered{
    display: inline-block;
    font-size: 16px;
    width: 105px;
  }
footer .support-ul{
  display: inline-block;
}
footer .support-ul a{
  display: inline-block;
  float: left;
  color: rgba(102,102,102,0.8);;
  border: 1px solid #0099FF;
  padding: 5px;
  margin-right: 8px;
  margin-bottom: 7px;
  -moz-transition: all 0.3s ease-in;
  -webkit-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
footer .support-ul a:hover{
  border: 1px solid #fff;
  color: #fff;
  background: #2ECC71;
  -webkit-transform:scale(1.2);
  -webkit-box-shadow:2px 4px 6px #555555; 
  -moz-transition: all 0.1s ease-in;
  -webkit-transition: all 0.1s ease-in;
  -o-transition: all 0.1s ease-in;
  transition: all 0.1s ease-in;
}
footer .nav-ul a{
  display:block;
  margin-bottom:10px;
  margin-left: auto;
  margin-right: auto;
  padding:8px;
  width: 60%;
  max-width: 200px;
  background:rgba(0,128,255,0.6);
  border-radius:30px 0 30px 0;
  box-shadow:1px 1px 1px rgba(0, 0, 0, 0.2);
  color:rgba(255,255,255,1);
  font-weight:bold;
  text-align:center;
  text-shadow:1px 1px rgba(204,204,204,0.8);
  -moz-transition: all 1s ease-in;
  -webkit-transition: all 1s ease-in;
  -o-transition: all 1s ease-in;
  transition: all 1s ease-in;
}
footer .nav-ul a:hover{
  border-radius:0 30px 0 30px;
  background: #2ECC71;
  /*color:rgba(0,0,0,0.6);*/
  color: #666;
  text-decoration:none;
  -moz-transition: all 1s ease-in;
  -webkit-transition: all 1s ease-in;
  -o-transition: all 1s ease-in;
  transition: all 1s ease-in;
}
.btm-sm-logo{
  display: inline-block;
  height: 40px;
  margin-right: 10px;
  margin-bottom: 10px;
}

/*-----------------------------
          登录和注册            
 -----------------------------*/

/* 登录 */
.login .form-group {
  position: relative;
  margin-bottom: 20px;
}
.login .form-control, .select2-search input[type=text] {
  height: 42px;
  padding: 8px 12px;
  font-family: Lato,Helvetica,Arial,sans-serif;
  font-size: 15px;
  line-height: 1.467;
  color: #34495e;
  border: 2px solid #bdc3c7;
  border-radius: 6px;
  box-shadow: none;
  -webkit-transition: border .25s linear,color .25s linear,background-color .25s linear;
  transition: border .25s linear,color .25s linear,background-color .25s linear;
}
.login {
  position: relative;
  padding-top: 120px;
  padding-bottom: 55px;
}
.login-screen {
  min-height: 473px;
  padding: 123px 199px 33px 306px;
  background-color: #1abc9c;
  }
.login-icon {
  padding-top: 20px;
  width: 96px;
  text-align: right;
  margin: 0 auto;
  margin-bottom: 20px;
  float: right;
}
.login-form {
  position: relative;
  padding: 24px 23px 20px;
  background-color: #edeff1;
  border-radius: 6px;
  max-width: 380px;
  margin: 0 auto;
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  .login{
    padding-top: 0px;
  }
  .login-icon {
    float: none;
    text-align: center;
  }
}
.login-icon > img {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  }
.login-icon > h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 300;
  line-height: 34px;
  opacity: .95;
  }
.login-icon > h4 small {
  display: block;
  font-size: inherit;
  font-weight: 700;
  color: inherit;
  }
.login-form .control-group {
  position: relative;
  margin-bottom: 6px;
  }
.login-form .login-field {
  padding-right: 40px;
  font-size: 17px;
  text-indent: 3px;
  border-color: transparent;
  }
.login-form .login-field:focus {
  border-color: #1abc9c;
  }
.login-form .login-field:focus + .login-field-icon {
  color: #1abc9c;
  }
.login-form .login-field-icon {
  position: absolute;
  top: 3px;
  right: 15px;
  font-size: 23px;
  line-height: 35px;
  color: #bfc9ca;
  -webkit-transition: all .25s;
          transition: all .25s;
}
.login-link {
  display: block;
  margin-top: 15px;
  font-size: 13px;
  color: #bfc9ca;
}
.login-link:hover {
  color: #16a085;
  text-decoration: none;
  -webkit-transition: .25s;
  transition: .25s;
}

.login .btn-primary {
  color: #fff;
  background-color: #1abc9c;
  border-color: #bdc3c7;
}
.login .btn-primary:hover,
.login .btn-primary.hover,
.login .btn-primary:focus,
.login .btn-primary:active,
.login .btn-primary.active{
  color: #fff;
  background-color: #48c9b0;
  border-color: #48c9b0;
  }

/* 注册 */
.checkbox{
  line-height: 20px;
  color: #999;
  text-align: center;
}
.signup h1{
  color: #fff;
  vertical-align: bottom;
  margin-bottom: 30px;
}
.signup h1 img{
  width: 50px;
  margin-right: 10px;
}
.signup .fa:before{
  display: inline-block;
  min-width: 14px;
}
.signup .form-horizontal{
  max-width: 380px;
  margin: 0 auto;
  margin-bottom: 30px;
}
.signup .checkbox:hover{
  color: green;
}
.signup .form-horizontal .form-group{
  width: 100%;
  margin: 0 auto;
  margin-bottom: 15px;
}
.signup .btn-info{
  width: 100%;
  height: 45px;
}
.wap{
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 10px;
}
@media (max-width: 768px) {
}
@media (max-width: 380px) {
  .wap{
    padding: 20px 10px;
  }
  .signup h1{
    font-size: 30px;
  }
  .has-error .checkbox,.has-success .checkbox{
    width: 87%;
  }
}

/* container-mu */
.container-mu{
  padding: 30px 0;
  min-height: 700px;
}



/* 聊天类 */
#content{
  min-height:500px;
  height:500px;
  background:#f9f9f9;
  border: 1px solid #eee;
  margin-bottom: 20px;
  overflow: auto;
}
#sendTxt{
  min-height: 80px;
  margin-right: 10px;
  margin-bottom: 5px;
  border: 1px solid #eee;
}
#sendBtn,#clearBtn{
  float: right;
  margin-left: 5px;
  margin-bottom: 20px;
}
#onlineNum{
  float: right;
  font-size: 18px;
  line-height: 39px;
}
.groupList{
  list-style: none;
}
.groupList li{
  padding: 10px 5px;
}
.groupList li a{
  display: inline-block;
  width: 100%;
  text-decoration: none;
}
.groupList li span{
  float: left;
}
.groupList li img{
  float: left;
  border-radius: 50%;
  max-width: 80px;
}
.groupList li .name{
  font-size: 14px;
  line-height: 30px;
  display: block;
}
.groupList li .name small{
  color: #666;
  font-size: 12px;
  display: block;
}
.groupList li:hover,.groupList li:hover span{
  color: #0099FF;
  background: #eee;
}
.friendList li:hover,.friendList li:hover span{
  color: #000;
  background: #fff;
}